<template>
	<!-- 个人资料 -->
    <div class="personal-config">
      <!-- 导航 -->
      <tz-breadcrumb  :pathArr='[{"name": "设置"},{"name": "个人资料", "url": "/personalconfig"}]'></tz-breadcrumb>
      <!-- 数据表单 -->
<div style="margin: 20px;"></div>
<el-card class="box-card">
  <div class="text item">
      <el-tabs value="withdrawbase" >
    <el-tab-pane label="提现配置" name="withdrawbase">
      <!-- 提现配置 -->
      <el-tag type="warning">用户组的余额必须要超过设定金额，多余部分资金才能提现</el-tag>
      <br/>
      <el-form  class="" label-width="120px" style="margin-top: 15px;">
        <el-form-item label="一级代理商">
          <el-input class="form-input" value="2000.00" disabled=""></el-input>
        </el-form-item>
        <el-form-item label="二级代理商">
          <el-input  class="form-input" value="3000.00" disabled=""></el-input>
        </el-form-item>
        <img src="" width="300px">
          <el-form-item>
          <el-button type="primary" @click="save(1)">保存</el-button>
        </el-form-item>
      </el-form>
    </el-tab-pane>
  </el-tabs>
  </div>
</el-card>

    </div>
</template>

<script>

import tzBreadcrumb from './../../components/breadcrumb/breadcrumb.vue';
export default {
  components: {
    'tz-breadcrumb': tzBreadcrumb
  },
  methods: {
    // 商户设置
    save (id) {
      this.$router.push({
        path: '/AddWithdraw',
        query: {
          id: id
        }
      });
    }
  }
};
</script>

<style lang="stylus" scoped>
.form {
  padding: 2rem;
  padding-right: 200px;
  margin-top: 15px;
  margin-bottom: 12px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 1px 1px 1px #999;

  .form-item {
    display: inline-block;
    margin-right: 35px;

    label {
      font-size: 14px;
      color: #333;
      width: 200px;
      display: inline-block;
    }

    .form-input, .form-select {
      width: 200px;
    }
  }

  .line {
    height: 15px;
  }
}

.server-item {
  width: 20px;
  height: 20px;
  margin: 5px;
}
</style>
